from distutils.core import setup, Extension

simagick = Extension('simplemagick',
					sources = ['simplemagick.c'],
					include_dirs = ['/opt/local/include/ImageMagick'],
					library_dirs = ['/opt/local/lib',
									'/usr/X11/lib',
									'/sw/lib'
									],
					libraries = ['freetype', 'z','MagickWand', 'MagickCore'],
					extra_link_args=['-R/usr/X11/lib', '-Wl,-framework,CoreServices,-framework,ApplicationServices']
					)

setup (name = 'SimpleMagick',
       version = '0.0.1',
       description = 'Very very very simple ImageMagick interface :)',
       ext_modules = [simagick],
	   author = 'Stepan A. Shirokikh',
		author_email = 'diesel.automatic@gmail.com',
		url = 'http://web2people.net',
		long_description = 'This extension provides some image processing capabilities into Python\nSuch as resizing and cropping images\n',
		license = 'GPL')
